package linearstructure.linkedlist.singlelist;

/**
 * @ author : HyoJoo-W
 * @ createDate : 2021-05-24 16:51
 * @ Description :
 */
public class HeroNode
{
    public int no;
    public String name;
    public String nickname;
    public HeroNode next;

    public HeroNode(int no, String name, String nickname)
    {
        this.no = no;
        this.name = name;
        this.nickname = nickname;
    }

    @Override
    public String toString()
    {
        return "HeroNode{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                '}';
    }
}
